package com.pmpd.activity.vo.api;

import com.pmpd.activity.po.ActivityUser;
import com.pmpd.activity.service.api.ApiActivityUserService;

/**
 * @Author liuying
 * @Description 活动用户返回结果
 * @Date 15:15 2018/6/15
 */
public class ApiActivityUserVo {
    private int type;

    private long joinTime;

    private long endTime;

    private int winningState;

    private long activityStartTime;

    private long activityEndTime;

    public ApiActivityUserVo(ActivityUser activityUser){
        this.type = activityUser.getType();
        this.joinTime = activityUser.getJoinTime();
        this.endTime = activityUser.getEndTime();
        this.winningState = activityUser.getWinningState();
        this.activityStartTime = activityUser.getActivityStartTime();
        this.activityEndTime = activityUser.getActivityEndTime();
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public long getJoinTime() {
        return joinTime;
    }

    public void setJoinTime(long joinTime) {
        this.joinTime = joinTime;
    }

    public long getEndTime() {
        return endTime;
    }

    public void setEndTime(long endTime) {
        this.endTime = endTime;
    }

    public int getWinningState() {
        return winningState;
    }

    public void setWinningState(int winningState) {
        this.winningState = winningState;
    }

    public long getActivityStartTime() {
        return activityStartTime;
    }

    public void setActivityStartTime(long activityStartTime) {
        this.activityStartTime = activityStartTime;
    }

    public long getActivityEndTime() {
        return activityEndTime;
    }

    public void setActivityEndTime(long activityEndTime) {
        this.activityEndTime = activityEndTime;
    }
}
